export default {

  namespace: 'departmentManager',

  state: {
    visible: false,
    flag: false,
    departs: {}
  },

  subscriptions: {
      setup({ dispatch, history }) {  // eslint-disable-line
    }
  },

  effects: {
  },

  reducers: {
    save (state, action) {
      return { ...state, ...action.payload }
    }
  }

}
